package com.roadrunner;

import java.util.ArrayList;

public class User {

	public User(String m_Name, String m_Address, String m_Phone, String m_Email, String orderIDs) {
		super();
		this.name = m_Name;
		this.address = m_Address;
		this.phone = m_Phone;
		this.email = m_Email;
		this.currentOrdersIDs = orderIDs;
	}
	
	private String name;
	private String address;
	private String phone;
	private String email;
	private String currentOrdersIDs;
	
	public String getName() {
		return name;
	}
	public void setName(String m_Name) {
		this.name = m_Name;
	}
	public String getEmail() {
		return name;
	}
	public void setEmail(String m_Email) {
		this.name = m_Email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String m_Phone) {
		this.phone = m_Phone;
	}
	public String getAddress() {
		return email;
	}
	public void setAddress(String m_Address) {
		this.email = m_Address;
	}
	public String getCurrentOrdersIDs() {
		return currentOrdersIDs;
	}
	public void setCurrentOrdersIDs(String m_CurrentOrdersIDs) {
		this.currentOrdersIDs = m_CurrentOrdersIDs;
	}
	public String Serialize()
	{
		String Json = "";
		Json = "{\"name\":\""+name
				+"\",\"address\":\""+address 
				+"\",\"phone\":\""+phone
				+"\",\"email\":\""+email
				+"\",\"currentOrdersIDs\":\""+currentOrdersIDs
				+"\"}";
		
		return Json;
	}
}
